design a form which shows the functionality of all dialog controls